<!--F 上传图片-->
<script type="text/javascript" src="__JS__/jquery.ui.widget.js"></script>
<script type="text/javascript" src="__JS__/jquery.iframe-transport.js"></script>
<script type="text/javascript" src="__JS__/jquery.fileupload.js"></script>
<!--E 上传图片-->

<div class="admin">
    <form method="post" name="myform" id="myform" action="">
        <div class="panel admin-panel">
            <div class="panel-head"><strong>店铺设置</strong></div>

            <table class="table table-hover">
                <tr>
                    <td width='160px'><span class="c-red">*</span>店铺名称：</td>
                    <td width='*'>
                        <input type="text" class="input input_big dis float-left" value="{$store.store_name}" name="store_name"/>
                        <div class="label Validform_checktip" >店铺名称不可修改，特殊原因请联系客服</div>
                    </td>
                    <td width='*'></td>
                </tr>
                <tr>
                    <td width='160px'><span class="c-red">*</span>主营商品：</td>
                    <td width='*'>
                        <textarea class="input input_big dis float-left" name="store_zy">{$store.store_zy}</textarea>
                        <div class="label Validform_checktip" >关键字最多可输入50字，请用","进行分隔，例如”男装,女装,童装”</div>
                    </td>
                    <td width='*'></td>
                </tr>
                <tr>
                    <td width='160px'><span class="c-red">*</span>店铺二维码：</td>
                    <td width='*'>
                        {$store['member_id']|qrcode}
                        <div class="label Validform_checktip">自动生成</div>
                    </td>
                    <td width='*'></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>店铺logo：</td>
                    <td>
                        <div>
                            <!-- 图片上传按钮 -->
                            <label class="button input-file" for="fileupload_a">+ 浏览文件 </label>
                            <input style="display: none" id="fileupload_a" class="fileupload" type="file" name="image" data-name="store_label" data-num="1">
                            <!-- 图片展示模块 -->
                            <div class="files float_in_div">
                                <notempty name="store.store_label">
                                    <div class="images_zone">
                                        <input type="hidden" name="store_label" value="{$store.store_label}">
                                        <span><img src="{$store.store_label}!100x100"></span>
                                        <a href="javascript:;" style="display: none;">删除</a>
                                    </div>
                                </notempty>
                            </div>
                            <div style="clear:both;"></div>
                            <!-- 图片上传进度条模块 -->
                            <div class="up_progress"><div class="progress-bar"></div></div>
                        </div>
                        <div class="label Validform_checktip">建议使用宽200像素-高60像素内的GIF或PNG透明图片；点击下方"取人保存"按钮后生效。</div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>店铺横幅：</td>
                    <td>
                        <div style="float:left; width: 15%;">
                            <!-- 图片上传按钮 -->
                            <label class="button input-file" for="fileupload_b">+ PC横幅文件 </label>
                            <input style="display: none" id="fileupload_b" class="fileupload" type="file" name="image" data-name="store_banner" data-num="1">
                            <!-- 图片展示模块 -->
                            <div class="files float_in_div">
                                <notempty name="store.store_banner">
                                    <div class="images_zone">
                                        <input type="hidden" name="store_banner" value="{$store.store_banner}">
                                        <span><img src="{$store.store_banner}!100x100"></span>
                                        <a href="javascript:;" style="display: none;">删除</a>
                                    </div>
                                </notempty>
                            </div>
                            <div style="clear:both;"></div>
                            <!-- 图片上传进度条模块 -->
                            <div class="up_progress"><div class="progress-bar"></div></div>
                        </div>
                        <div style="float:left; width: 15%;">
                            <!-- 图片上传按钮 -->
                            <label class="button input-file" for="fileupload_c">+ 手机横幅文件 </label>
                            <input style="display: none" id="fileupload_c" class="fileupload" type="file" name="image" data-name="store_banner_tel" data-num="1">
                            <!-- 图片展示模块 -->
                            <div class="files float_in_div">
                                <notempty name="store.store_banner_tel">
                                    <div class="images_zone">
                                        <input type="hidden" name="store_banner_tel" value="{$store.store_banner_tel}">
                                        <span><img src="{$store.store_banner_tel}!100x100"></span>
                                        <a href="javascript:;" style="display: none;">删除</a>
                                    </div>
                                </notempty>
                            </div>
                            <div style="clear:both;"></div>
                            <!-- 图片上传进度条模块 -->
                            <div class="up_progress"><div class="progress-bar"></div></div>
                        </div>
                        <div class="label Validform_checktip">建议使用宽1000像素*高250像素的图片；点击下方"提交"按钮后生效。</div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>横幅背景色：</td>
                    <td>
                        <input type="text" class="inputL input_small" name="background_color" value="{$store.background_color}" />
                        <div class="label Validform_checktip">填写16进制颜色如：#a2f368</div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>QQ：</td>
                    <td>
                        <input type="text" class="inputL input_small" name="store_qq" value="{$store.store_qq}" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>阿里旺旺：</td>
                    <td>
                        <input type="text" class="inputL input_small" name="store_ww" value="{$store.store_ww}" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>店铺电话：</td>
                    <td>
                        <input type="text" class="inputL input_small" name="store_phone" value="{$store.store_phone}" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>SEO关键字：</td>
                    <td>
                        <div class="attr"></div>
                        <input type="text" class="input input_big dis"  name="store_keywords" value="{$store.store_keywords}"/>
                        <div class="label Validform_checktip">用于店铺搜索引擎的优化，请用","进行分隔，例如”男装,女装,童装”</div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>SEO店铺描述：</td>
                    <td>
                        <div class="attr"></div>
                        <textarea class="input input_big dis float-left" name="store_description">{$store.store_description}</textarea>
                        <div class="label Validform_checktip">用于店铺搜索引擎的优化，建议120字以内</div>
                    </td>
                    <td></td>
                </tr>
            </table>
            <div class="panel-foot text-center">
                <div class="form-button">
                    <input class="button bg-main" type="submit" value="确认保存">
                </div>
            </div>
        </div>
    </form>
</div>
<!--F 上传图片-->
<script type="text/javascript" src="__JS__/jquery.uploads.js"></script>
<!--F 上传图片-->
<script type="text/javascript">
    $('#myform').layer({});
</script>